package com.fire.security.service;


import com.fire.security.domain.CurrentUser;
import com.fire.security.domain.Result;
import com.fire.security.domain.User;

import java.util.List;


public interface UserService {

    List<User> findByConditions(User user);

    Result updateUser(User user);

    Result insertUser(User user);

    Result deleteUserById(String id);

    //添加观看量
    Result addRead(String id);

    CurrentUser findByName(String name);

    CurrentUser findUserByName(String name);

    User  findById(String id);
}
